
(function ($, Drupal, window, document, undefined) {

  Drupal.behaviors.tab_status = {
    attach: function(context, settings) {
              if($(".nav-tabs li.active").length == 0){
                $($(".nav-tabs li").get(0)).addClass("active");
              }
            }
  }; 
})(jQuery, Drupal, this, this.document);
